//
// C++ Implementation: RARArchive
//
// Description: 
//
//
// Author: Vitali Lovich <vlovich@gmail.com>, (C) 2008
//
// Copyright: See COPYING file that comes with this distribution
//
//
#include "RARArchive.h"

RARArchive::RARArchive(QStringList parts) : Archive(parts)
{
}

RARArchive::RARArchive(QString part) : Archive(part)
{
}

RARArchive::~RARArchive()
{
}

bool RARArchive::extract(QString destDir, bool overwrite)
{
	return false;
}

void RARArchive::continueExtraction(QString pathToMissingPart)
{
}

QString RARArchive::getArchiveType() const
{
	QString lowercase = firstPart.toLower();

	if (suffix == "rar")
	{
		return "rar archive";
	}
	else if (suffix = "part
	{
	}
}

QString RARArchive::getPluginName() const
{
	return "unrar";
}
